package homeWork.SOC4.mission_1;

public class TestPerson {
    public static void main(String[] args){

        //创建学生对象
        Student s = new Student("张三",19,"广州",
                "201201","17软件4班","篮球，摄影");
        System.out.println(s.toString());

        //创建教师对象
        Teacher t = new Teacher("张三峰",32,"广州",
                "讲师",15,"大数据应用");
        System.out.println(t.toString());

        //创建员工对象
        Empoyee e = new Empoyee("李四",50,"北京",
                28000,"2002年1月1日");
        System.out.println(e.toString());

        //创建管理员对象
        Manager m = new Manager("王老吉",60,"北京",
                2000000,"1986年10月1日","董事长");
        System.out.println(m.toString());
    }
}
